json.array!(@patients) do |patient|
  json.extract! patient, :id, :first_name, :last_name, :dob, :mobile, :email, :created_at, :updated_at, :created_by, :updated_by
  json.url patient_url(patient, format: :json)
end
